FROM java:8-jre

ADD target/*.jar app.jar
CMD ["java", "-Xms200m", "-jar", "app.jar"]
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
EXPOSE 8080